package edu.huangke.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/ant")
public class AntPathController {

    @RequestMapping("/ant1?")
    public String test() {
        System.out.println("ant1? 方法执行");
        return "hello";
    }

    @RequestMapping("/ant2/*.do")
    public String test2() {
        System.out.println("ant2* 方法执行");
        return "hello";
    }
}
